package com.sinosoft.dsp.platform.components.portal.iteration;

import java.util.ArrayList;
import java.util.List;

/**
 * List的行数据对象
 * 
 * @author 潘巍（Peter Pan）
 * @since 2011-5-13 上午08:47:55
 */
public class RowDataTableObject extends IterationObject implements
		IDataTableObject {

	private static final long serialVersionUID = 2375135863691054722L;

	private List<String> row;

	public RowDataTableObject() {
		super();
	}

	public RowDataTableObject(String id, List<String> row) {
		this();
		this.setId(id);
		this.row = row;
	}

	public List<String> getRow() {
		return row;
	}

	public void setRow(List<String> row) {
		this.row = row;
	}

	public void addRow(String str) {
		if (row == null) {
			row = new ArrayList<String>();
		}
		row.add(str);
	}

}
